BUGFIX: When retry happens, the code should run as though it is running
for the first time ... perhaps with some state variables changed.
v0.6.1