set the timeout