Timeout is necessary for readline()