Prevent race condition while disposing txn lock
Prevent race condition while disposing txn lock

jgoode/EDDiscovery,vendolis/EDDiscovery,vendolis/EDDiscovery,jthorpe4/EDDiscovery,mwerle/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,jeoffman/EDDiscovery,jeoffman/EDDiscovery