Add session timeout support.