changes to allow abortting a transaction early