ConnectionInvalidStateErrorInvalid state, for example if Client.connect is called when the client is not disconnected.