Update eeagent to wait for listeners to exist before sending beat