Use more deterministic ledger waiting