OnClientDisconnected not invoked when Client was in Pending state - accepted by the server but there was no Welcome response meaning that client state was not changed to Connected.
I decided this would be better resolved with a ConnectionFailed event to match client behaviour (the Disconnected event only being invoked if a connection was previously established).
OnClientDisconnected not invoked when Client was in Pending state - accepted by the server but there was no Welcome response meaning that client state was not changed to Connected.