cancel heartbeat timers on connectionLost in the websocket implementation