public void close() throws Exception {
    if (accountService != null) {
      accountService.close();
    }
    if (clusterMap != null) {
      clusterMap.close();
    }
    if (helixStore != null) {
      helixStore.stop();
    }
  }
Close and stop all the running components.
@throws Exception Any unexpected error.
ambry-tools/src/main/java/com/github/ambry/account/AccountTool.java