send with timeout
Brought to you by:
orenmnero
If the third party doesn't process your messages communication thread will stuck in the send function.
If you have other sessions to send to this stuck one - they will stuck as well on the send mutex.
I think it's possible to resolve this problem using asynchronous send - up to 2,5 heart beat intervals and drop connection after that.
This should be fixed in 1.13.0. Please verify.