public static void closeAllQuietly(AtomicReference<Throwable> firstException, String name, AutoCloseable... closeables) {
        for (AutoCloseable closeable : closeables) closeQuietly(closeable, name, firstException);
    }
close all closable objects even if one of them throws exception.
@param firstException keeps the first exception
@param name message of closing those objects
@param closeables closable objects
clients/src/main/java/org/apache/kafka/common/utils/Utils.java