added retry middleware to faraday