exec with retry is now a loop rather than recursive function, in which there was a call bug