Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.