         self.probing = false
         self.flushProbeWait()
         
-        // self.client.webSocketDidFailWithError(error)
+        self.client.webSocketDidFailWithError(error)
     }
 }
                    if self == nil {
                        return
                    } else if err != nil {
                        println(err)
                        self?.handlePollingFailed()
                        return
                    }

        self.flushProbeWait()
        
        if self.websocket {
            self.pingTimer?.invalidate()
            self._websocket = false
            self._polling = true
            self.client.webSocketDidCloseWithCode(code, reason: reason, wasClean: wasClean)
