Fix log spam when queue is empty