Added retry loop for quote.