public override void ExceptionCaught(IChannelHandlerContext context, Exception exception) { if (!(exception is ObjectDisposedException)) log.Warn($"Exception in NettyServerHandler {context.Channel.Id.AsShortText()}: {exception.Message}"); context.CloseAsync(); }