retry api calls when they fail because heroku is updating itself