Rescue any StandardError as we are retrying, so no StandardError should stop us doing so.