code: public void shutdownProcesses() throws ProcessHandlerException {
          LOGGER.info("Shutting down all our node processes.");
  
          ProcessHandler handler = ProcessHandlerFactory.createInstance();
          List<ProcessInfo> processes = handler.potentialProcessToBeKilled();
          handler.killProcess(processes);
  
          LOGGER.info("Successfully shutdown all processes");
      }
docs: This method terminates all Node processes that we started.