docs: public static void cleanupActiveSession() {
          Session session = AbstractHandler.ACTIVE_SESSION.get();
          if (session != null) {
              try {
                  AbstractHandler.ACTIVE_SESSION.remove();
                  session.logout();
                  LOGGER.debug("Logged out REST service session");
              } catch (Exception e) {
                  LOGGER.warn(e, "Error while trying to logout REST service session");
              }
          }
      }