when a worker expires, purgeWorkers does not handle the removal properly.
because the order that workers enters the waiting deque may infect the removal.
missing import
Merge pull request #473 from catinred2/purgeWorker

purgeWorker bug fix