Add transaction ID support to BlockingTransactionListener
fix race condition for waitForCommit and waitForRollback