public void destroy() throws Exception {
        if (connectionManager != null) {
            connectionManager.shutdown();
        }
        destroyAllService();
        destroyAllPublishedService();
    }
shutdown and recycle the connection resources

@throws Exception
inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corerpc/RpcServiceFactory.java