             }
         } catch {
             DefaultSocketLogger.Logger.error("Error parsing open packet", type: logType)
-            client?.didError("Error parsing open packet")
             return
         }
 

            
            if let str = NSString(data: data!, encoding: NSUTF8StringEncoding) as? String {
                dispatch_async(this.parseQueue) {[weak this] in
                    if open {
                        this?.handleOpen(str)
                    } else {
                        this?.parsePollingMessage(str)
                    }
                }
            }
            

            session?.dataTaskWithRequest(req, completionHandler: callback).resume()
    }
    
    private func doLongPoll(req: NSMutableURLRequest) {
        doRequest(req) {[weak self] data, res, err in
            guard let this = self else {return}
            
