Create thread_worker