public static void resetHaltProcedure() {
        haltProcedure = NOOP_HALT_PROCEDURE;
    }
For testing only, do not call in main code.
<p>Clears the procedure set in {@link #setHaltProcedure(Procedure)}, but does not restore system default behavior of exiting the JVM.
clients/src/main/java/org/apache/kafka/common/utils/Exit.java