To warn the user we could raise a transaction if rollback is called. But we need to make sure this does not have any side effect first.