The Endpoint Agents keep a persisent connection with the Endpoint Server.
There is a persistent connection between the Endpoint Agent and the Endpoint Server. There is a heartbeat between the two which is used to indicate the up to date status.
The behavior was changed in 12.5 with a new communication architecture.