We should only retry immediately if returned status code not in [200, 404].

It makes no sense to retry if service returns 404.