It seems this happens when processing active checks after the agent had failed to connect to the server,