Add ChannelHandlerContext.isRemoved() to easily detect the removal of a ChannelHandler while in a method.