@Override
    protected void doCloseAsync(CompletableFuture<?> future) {
        if (!eventLoop.inEventLoop()) {
            eventLoop.execute(() -> doCloseAsync(future));
            return;
        }

        if (scheduledFuture != null) {
            scheduledFuture.cancel(true);
        }

        future.complete(null);
    }
Returns a newly-created {@link NacosEndpointGroupBuilder} with the specified {@code nacosUri}
and {@code serviceName} to build {@link NacosEndpointGroupBuilder}.

@param nacosUri the URI of Nacos API service, including the path up to but not including API version.
                (example: http://localhost:8848/nacos)
nacos/src/main/java/com/linecorp/armeria/client/nacos/NacosEndpointGroup.java