Code changes in this MR belong to the campaign aimed to clean up Athena code from incidents wherever possible. Incidents are hostile to multithreaded framework in general. The LastInputFile and FailInputFile incidents are obsolete, so dropping them was rather simple.