applying leader follower to worker_thread