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