End transation.