I am saying the only way to detect a spontaneous disconnection, which I think it what you're asking, is to send a request of some sort and have it time out.