Try to stop the transaction when catching an exception
Command the cluster node not to do optimizations.