code: public void shutdown() {
      this.flowTriggerExecutorService.shutdown();
      this.cancelExecutorService.shutdown();
      this.timeoutService.shutdown();
  
      this.flowTriggerExecutorService.shutdownNow();
      this.cancelExecutorService.shutdownNow();
      this.timeoutService.shutdownNow();
  
      this.triggerProcessor.shutdown();
      this.triggerPluginManager.shutdown();
      this.cleaner.shutdown();
    }
docs: Shuts down the service immediately.