@Override
    public void disconnect() {
        if (channel != null) {
            try {
                channel.shutdown().awaitTermination(5, TimeUnit.SECONDS);
            } catch (InterruptedException e) {
                LOGGER.warn("Triple channel shut down interrupted.");
            }
            channel = null;
        }
        channelMap.remove(providerInfo.toString());
    }
The constructor

@param transportConfig transport config
remoting/remoting-triple/src/main/java/com/alipay/sofa/rpc/transport/triple/TripleClientTransport.java