Test for Shutdown thread