wake up worker after killing it, not before

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>