ancestry.lua: abort after 20 tries