maxtries needs to be higher for getdeps