fixed race condition between txCommit and txRead transactions (wrong Id was assigned)