@Override
        public void channelInactive(ChannelHandlerContext ctx) {
            NettyClient.this.close();
        }
Invoked when a {@link Channel} was closed and all its related resources were released.

@param ctx   the channel handler context
inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corerpc/netty/NettyClient.java