Added ability to cancel an entire transaction.