Correct MessageWorker stop logic.