Updates retry logic to newer requests API