added stop to worker.