Add a quick and dirty implementation of redoing a request in case of
429 and 503 errors