https://bestthaifoodrecipeshopppp.blogspot.com/2023/06/python-interrupt-saccept.html
Python: Interrupt S.accept()