fixed bug with queue staying closed at end of day
TIM: the hackerman