Change loop behaviour to make retries if API times out or otherwise misbehaves