yep, sadly. but  threading._shutdown.__self__.is_alive() looks ugly. What do you think about using own flag for indicating exit?