Making sure the transaction is discarted and a new one is made.