refactor stuck jobs watchdog setInterval
refactor shutdown timeout handler
Properly update worker status flags on resume, Closes #423
Properly update status flags on resume, Closes #423