tiab test shutdown fix
getTxLedger refactorization