Adds timeout (1sec) to the condition_variable of CurrentQueues to avoid spurious wakes