prevent thread leaks due to deallocator prestarting threads