code: public void shutdown() {
          executorService.shutdown();
          scheduler.shutdown();
          daemonScheduler.shutdown();
          executorServiceSingleThreads.values().forEach(ExecutorService::shutdown);
      }
docs: Shutdowns the thread pool.
  This method is called automatically after disconnecting.