Fix DBRowExecStmt not terminating the step loop on an error condition,
resulting in an infinite loop for non-transient errors.