Added a way to make multiple attempts with varying backoff strategies. With each retry we can wait a set number of seconds between each call until we either get a successful response from the metrics API or we run out of attempts:
wait 10 seconds between each call
wait 30 seconds between each retry
wait 60 seconds between each retry
wait 300 seconds between each retry (5 minutes)
failing this, log the error and move on to another set and reset the backoff strategy