[TEST] fix server connected ledger close test