Rollback on database error.