@Override
  public void close() {
    for (DcInfo dcInfo : dcToDcInfo.values()) {
      dcInfo.close();
    }
    dcToDcInfo.clear();

    if (clusterMapConfig.clusterMapUseAggregatedView && helixAggregatedViewClusterInfo != null) {
      helixAggregatedViewClusterInfo.close();
    }
    if (helixPropertyStoreInLocalDc != null) {
      helixPropertyStoreInLocalDc.stop();
    }

    if (localHelixAdmin != null) {
      localHelixAdmin.close();
    }
  }
Disconnect from the HelixManagers associated with each and every datacenter.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixClusterManager.java