Using the Google Channels API, I find that / _ah / channel / disconnected / is always called online while / _ah / channel / connected / is not. Many times, I never receive a connection call, and then I receive a disconnect call for a channel that the server was not notified about!
(I saw that some people had the opposite problem, that the shutdown is delayed)
source share