The reason is that the work processing has not ended yet, and the next operation will start again.
Two solutions:
(1) Purchase a more powerful CPU;
(2) Add time.sleep(1) to the code, rest for 1 second, and it will be OK.
Reference blog:
https://www.pythonf.cn/read/122269