Add the retry loop from main in the event of lone failures. Hopefully this fixes test flakiness at the cost of taking longer
refactor Co-authored-by: Sam Therapy <sam@samtherapy.net> Reviewed-on: #110 Reviewed-by: Sam <sam@samtherapy.net>