Add a guard against overlapping transactions.