code: private void _shutdownScheduledExecutorService() {
          _logger.info("Shutting down scheduled disable warden alerts executor service");
          _scheduledExecutorService.shutdown();
          try {
              if (!_scheduledExecutorService.awaitTermination(5, TimeUnit.SECONDS)) {
                  _logger.warn("Shutdown of scheduled disable warden alerts executor service timed out after 5 seconds.");
                  _scheduledExecutorService.shutdownNow();
              }
          } catch (InterruptedException ex) {
              _logger.warn("Shutdown of executor service was interrupted.");
              Thread.currentThread().interrupt();
          }
      }
docs: Shuts down the scheduled executor service.