Parse an integer from the timeout input