set stop in workerthread volatile