Add client session timeout logic.