[don't merge] Candidate fix for #279 Socket deadlocks if no HELLO is received
Created by: uwx
Summary
Attempt to fix #279 (closed): Socket deadlocks if no HELLO is received.
Details
I can't reproduce the issue, so I can't confirm that it works, however this should theoretically place a hard limit of 10 seconds timeout for ConnectionSemaphore
.
Changes proposed
- Limit ConnectionSemaphore.WaitAsync to 10 seconds (10000ms)