public static CompletableFuture<Void> addClosingTask(AutoCloseable autoCloseable) {
        return addClosingTask(autoCloseable, null, autoCloseable.getClass().getSimpleName());
    }
Adds an {@link AutoCloseable} to the JVM shutdown hook.
core/src/main/java/com/linecorp/armeria/common/util/ShutdownHooks.java