disconnect method
Disconnects the client and disposes the connection.
Implementation
void disconnect() {
Log.debug('disconnect()', '$runtimeType');
_disposeWebSocket();
_queryLimiter.clear();
_subscriptionLimiter.clear();
_client = null;
}