Closes the connection to the device.
@override Future<void> dispose() async { await subscription?.cancel(); await serial.dispose(); }