Wait until remote is connected before emitting ledger_closed events