public override void ExceptionCaught(IChannelHandlerContext context, Exception exception) { log.Warn($"Exception in NettyClientHandler: {exception.Message}"); context.CloseAsync(); } }