fix random restart worker failure
Merge pull request #1333 from dajohnso/fix_restart_workers

fix random restart worker failure