-
Luca Boccassi authored
Solution: use a monitor to wait for a disconnect instead of a sleep, and retry to send a message until it fails since the state machine might be delayed due to the I/O thread being pre-empted on busy systems. Also set a receive timeout to avoid random hangs. Fixes #3124
1a593775