The bluetooth dongle generates two COM ports, which keeps 'keepCheckingPort' thread running.
So the 'threading.active.count() ==4:' never true. The 'threading.active.count()' will always be 5.
I comment out line 83 to 85 in OpenCat-Imitation/opencat_imitation/control.py to disable the 'keepCheckingPort' thread started.
self.t = threading.Thread(target=ardSerial.keepCheckingPort, args=(self.goodPorts, ))
self.t.start()
Any update for ardSerial.keepCheckingPort to solve this totally?