code: public void startGSEXIT() throws IOException {
      List<HubDataSink> dataSinks = hubDataStore.getHubDataSinks();
      for (HubDataSink hubDataSink : dataSinks) {
        List<String> com = Lists.newArrayList();
        com.add(getHostPort(hubDataStore.getHubAddress()));
        com.add(hubDataStore.getInstanceName());
        com.add(hubDataSink.getFTAName());
        com.add(hubDataSink.getName());
        ExternalProgramExecutor executorService = new ExternalProgramExecutor(
          "GSEXIT", new File(binLocation, "GSEXIT"), com.toArray(new String[com.size()]));
        gsExitExecutor.add(executorService);
        LOG.info("Starting GSEXIT : {}", executorService);
        executorService.startAndWait();
      }
    }
docs: Starts GSEXIT processes.
  @throws IOException