Increase the timeout of the main thread while waiting for
the i/o thread.