If serial port being accessed by another application, or if it was briefly disconnected, device.reader gives an error, closes port and stops _packet_listener. But I want to reconnect after that. How to do it?
device.close() and device.open() sequence takes too much time (~1min) to use it.