Timeout timer is started on line 638, timeout of 2secs with 3 retries.
SESSION_OBJ_RETRIEVE_RETRIES = 3
SESSION_INITIAL_RETRIEVE_TIMEOUT = 2000

If the object is nacked the session automatically goes into failsafe.