Refs #21029: added test for transaction leak