This assert will never assert, since you test retry in the if statement