Cancel a transaction