public static void halt(int statusCode) {
        halt(statusCode, null);
    }
Internal class that should be used instead of `System.exit()` and `Runtime.getRuntime().halt()` so that tests can
easily change the behaviour.
clients/src/main/java/org/apache/kafka/common/utils/Exit.java