[#977] Stop processing messages/bytes in a loop when the handler was removed from the ChannelPipeline