amzirc: add retry to http request