Moved control back into run_all_tests, since test scripts sometimes
call exit directly.
Simplified child check logic in work_queue_worker: signal handler
now sets flag so that we can detect signals that happen outside
of link_usleep_mask.