Change queue.delete to queue.delete_queue