Hi Brad,
The first message indicates that the keepalive messages between the WAE and the CM are failing, so the WAE is about to go into "offline" status.
The second message indicates that the connection to the CM has been restored and the device is now "online" again.
You should check the connectivity between the CM and the WAE. It seems the connection is not really stable
Regards
Daniel