added docs for timeout