Added catch for very rare empty queue exception