An Edge Agent never waits for Portainer to call it. It keeps calling Portainer, and how often is a setting you can look at.
The Portainer docs describe the standard Edge Agent flow like this: the agent checks in with Portainer at a set interval, and the default is every 5 seconds. The agent opens a tunnel only when Portainer needs one, over port 8000. Portainer needs only ports 9443 and 8000 exposed.
The interval lives in Settings under Edge Compute, as the default poll frequency for Edge Agents in standard mode. Change it there for all agents.
When you open an Edge environment to manage it, Portainer flags that it needs a connection, and the tunnel is built at the agent’s next check-in. With the default settings the docs put this at about 10 seconds, and you see a waiting message meanwhile.
A longer interval means fewer connections from a device on a slow link. My guess is that it also makes that waiting message last longer, so I’d change it in small steps and open an environment to see how it feels.
One caveat: this is for agents in standard mode. The same settings page has separate ping, snapshot and command frequencies for async mode.
Further reading: Portainer: Edge Agent, Portainer: Edge Compute settings