[potential-fix] I ran into a few hangs-on-exit that this MAY help address. This allows the thread that's waiting for python threads to exit to raise python system exceptions within the threads it's trying to get to exit.
Merge pull request #3465 from jimfcarroll/fix-some-hang-on-exits

Potential fix for one case of hanging-on-exit