maas: Break infinite loops into finite retries