In auto-commit operations, don't reset cursors if we are going to retry the operation.

refs #672, #1040