CMS-3990 Replace polling in LostConnectionDetector with WebSockets