ENHANCED: Try to avoid messages about the thread pool manager not existing while terminating the process