Make a new retry helper for every retry command to avoid sharing an attempt counter. This still needs a test. Refs #173.