disconnect method
void
disconnect()
Implementation
void disconnect() {
_tcpClient.add(ClientFrame.disconnect().toBytes());
_subscription?.cancel();
_subscriptionsMap.clear();
_handlers.clear();
_tcpClient.close();
}