suicide# suicide()[source]# Hard kill Python application despite multiple threads. faulthandler will cause a thread dump, so you can examine the hung sate. https://stackoverflow.com/a/7099229/315168