Change get_work to use a timeout when trying to tq_pop as a sanity failsafe in case of unusual circumstances.