Added a retry flag, with retry defaults.