Incrementing the timeout while waiting for input and turning off input/output debug statements