added KxWaitForLockChainValid