code: public static void exit(int status) {
      // Embedded H2O path (e.g. inside Hadoop mapper task).
      if( embeddedH2OConfig != null )
        embeddedH2OConfig.exit(status);
      // Flush all cached messages
      Log.flushStdout();
  
      // Standalone H2O path,p or if the embedded config does not exit
      System.exit(status);
    }
docs: Notify embedding software instance H2O wants to exit.  Shuts down a single Node.
  @param status H2O's requested process exit value.