https://weshallneversurrender.com/PyInterpreterConfig-allow-daemon-threads/
Understanding PyInterpreterConfig.allow_daemon_threads in Python