Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.