code: public void close() {
      for (SchedulerForType scheduleThread : schedulersForTypes.values()) {
        scheduleThread.close();
      }
      for (Thread scheduleThread : schedulersForTypes.values()) {
        Utilities.waitThreadTermination(scheduleThread);
      }
      configManager.close();
    }
docs: Stop the scheduling and disable the reloadable configuration manager.