wait for first heartbeat