Problem: at Python exit (main process), Python hangs on calling threading._shutdown () which waits until all Python threads complete. One enhancement would be to spawn subprocess.Popen.communicate () ...