most likely is it the python serial library that did not release serial port and act like a zombie.
proof: reboot the system, does it resolve the issue?