Create/destroy the worker thread