code: protected void stopInactivityTimer() {
          try (Lock ignored = locker.lockIfNotHeld()) {
              if (sessionInactivityTimer != null) {
                  sessionInactivityTimer.setIdleTimeout(-1);
                  sessionInactivityTimer = null;
                  if (log.isDebugEnabled()) {
                      log.debug("Session inactivity timer stopped");
                  }
              }
          }
      }
docs: Stop the session inactivity timer.