public void shutdownAll() throws ShutdownException {
    // we stop JMXServer at last
    Collections.reverse(iServices);
    for (IService service : iServices) {
      service.shutdown(deregisterTimeOut);
    }
    iServices.clear();
    logger.info("deregister all service.");
  }
stop all service and clear iService list.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/service/RegisterManager.java