ancestry.lua: retry 20 times on error status codes