Verify the existence of the queue before deleting it.