private void shutdownTasks() {
    // No need of pooledGIIExecutor as this node wont do GII again
    // so better to release resources
    ScheduledExecutorService executor = singleThreadFederationScheduler.get();
    if (executor != null) {
      executor.shutdownNow();
    }
  }
This method will shutdown various tasks running for management
geode-core/src/main/java/org/apache/geode/management/internal/LocalManager.java