Manually manage the worker pool for clean shutdown.