Redirect stdin of the launched process so it can't read an EOF in teamcity and kill an touch process.
(Teamcity seems to mock with stdin in some weird way)