adds a retry to the cURL call as the API seems to hiccup...