check to see if the timeout is not nil