public static void tryAll(List<Callable<Void>> all) throws Throwable {
        Throwable exception = null;
        for (Callable<Void> call : all) {
            try {
                call.call();
            } catch (Throwable t) {
                if (exception != null)
                    exception.addSuppressed(t);
                else
                    exception = t;
            }
        }
        if (exception != null)
            throw exception;
    }
Invokes every function in `all` even if one or more functions throws an exception.

If any of the functions throws an exception, the first one will be rethrown at the end with subsequent exceptions
added as suppressed exceptions.
clients/src/main/java/org/apache/kafka/common/utils/Utils.java