public static void shutdownBackgroundService() {
    backgroundService.shutdownNow();
    try {
      if (!backgroundService.awaitTermination(30, TimeUnit.SECONDS)) {
        LOGGER.warn("Pipe progressIndex background service did not terminate within {}s", 30);
      }
    } catch (InterruptedException e) {
      LOGGER.warn(
          "Pipe progressIndex background service is interrupted while waiting for termination");
      Thread.currentThread().interrupt();
    }
  }
The shortest scheduling cycle for these jobs is {@link
PipeConfig#getPipeSubtaskExecutorCronHeartbeatEventIntervalSeconds()}, suitable for jobs that are
NOT time-critical.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/runtime/PipePeriodicalJobExecutor.java