This repository was archived by the owner on Dec 5, 2021. It is now read-only.

Description
we have discussed about this, and it seemed to be fixed with the new pr #931
But there are still some cases when it's not working as expected. Consider this real scenario:
ConnectAsync
await sender.Send(invokewithLayer, token).ConfigureAwait(false);
await sender.Receive(invokewithLayer, token).ConfigureAwait(false);
Send or Receive generate an exception, which is caught at the higher level which, in turn, checks whether Client.IsConnected to eventually reconnect.
At this point IsConnected = true, but the handhaking failed, hence it's not connected.