         heartbeatTimer?.invalidate()
         heartbeatTimer = NSTimer.scheduledTimerWithTimeInterval(30,
             target: self, selector: "sendHeartbeat", userInfo: nil, repeats: true)
+        // statuses set when we were connecting socket
         channels.forEach(sendJoinEvent)
     }
     

    @objc func retry() {
        guard !socket.isConnected else { return }
        log("Retrying connect to", socket.currentURL)
        socket.connect()
    }
    

                target: self, selector: "sendHeartbeat", userInfo: nil, repeats: true)
        } else {
            log("Connecting to", socket.currentURL)
            channels.forEach { $0.status = .Joining }
            socket.connect()
        }
    }
