https://alezinhacris.blogspot.com/2024/11/python-process-wont-call-atexit.html
Python Process Won't Call Atexit