Fix throw exception after rollback