Change number of retries on a failed http request