code: protected void stopResetExpiredJobsThread() {
      if (resetExpiredJobThread != null) {
        try {
          resetExpiredJobThread.join();
        } catch (InterruptedException e) {
          log.warn("Interrupted while waiting for the reset expired jobs thread to terminate", e);
        }
    
        resetExpiredJobThread = null;
      }
    }
docs: Stops the reset expired jobs thread