There is no await connect() — the client connects on construction, so every handler you register synchronously is wired up before the first event arrives.