Description
In Connection.cs, _writeInProgress could be observed by BeginSendingMessages to indicate that the loop in SendMessagesFromQueueAsync is still "in flight" while in reality, it has already exited. While probably extremly rare, it's still a race condition.