fix transaction confidence listener memory leak