disconnect method
Implementation
Future<void> disconnect() async {
_markDisconnected(ButtplugClientException("Disconnected"));
final subscription = _messageSubscription;
_messageSubscription = null;
try {
await _connector.disconnect();
} finally {
await subscription?.cancel();
}
}