How to stop a looping thread in Python? How to stop a looping thread in Python? multithreading multithreading