Fixes teamcity issue with Console.ReadLine()

@Praburaj