docs: @Reference(policy = ReferencePolicy.DYNAMIC)
      protected void setScheduler(ScheduledExecutorService scheduler) {
  
          ScheduledExecutorService oldService = executorService.getAndSet(scheduler);
  
          if (oldService != null && fileMonitors != null) {
              // Monitors must reschedule their tasks with the new service
              for (MonitorHolder mh : fileMonitors.values()) {
                  mh.reschedule();
              }
          }
      }