Stronger check for canceling the queue