src/main/java/com/alipay/remoting/rpc/RpcClient.java
public void shutdown() {
        this.connectionManager.removeAll();
        logger.warn("Close all connections from client side!");
        this.taskScanner.shutdown();
        logger.warn("Rpc client shutdown!");
        if (reconnectManager != null) {
            reconnectManager.stop();
        }
        if (connectionMonitor != null) {
            connectionMonitor.destroy();
        }
    }
public void shutdown() {
        this.connectionManager.removeAll();
        logger.warn("Close all connections from client side!");
        this.taskScanner.shutdown();
        logger.warn("Rpc client shutdown!");
        if (reconnectManager != null) {
            reconnectManager.stop();
        }
        if (connectionMonitor != null) {
            connectionMonitor.destroy();
        }
    }
Shutdown.
<p>
Notice:<br>
<li>Rpc client can not be used any more after shutdown.
<li>If you need, you should destroy it, and instantiate another one.