worker deregistration and graceful shutdown
tests for complicated deregistration
work_in_progress for non-running worker shutdown
azylman's solution to race cond