@Override
    public void shutdown() {
        super.shutdown();

        this.connectionManager.shutdown();
        logger.warn("Close all connections from client side!");
        this.taskScanner.shutdown();
        logger.warn("Rpc client shutdown!");
        if (reconnectManager != null) {
            reconnectManager.shutdown();
        }
        if (connectionMonitor != null) {
            connectionMonitor.shutdown();
        }
        for (UserProcessor<?> userProcessor : userProcessors.values()) {
            if (userProcessor.isStarted()) {
                userProcessor.shutdown();
            }
        }
    }
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.
src/main/java/com/alipay/remoting/rpc/RpcClient.java