Added retries back into the http request call