default CompletableFuture<Void> closeOnJvmShutdown() {
        return ShutdownHooks.addClosingTask(this);
    }
Registers a JVM shutdown hook that closes this {@link ClientFactory} when the current JVM terminates.
core/src/main/java/com/linecorp/armeria/client/ClientFactory.java