Fixed race between async close() and ChannelReadable message in tests #3055