                     
                     
                 } else {
-                    print("MSG: \(msg.rawValue)")
+                    print("Connection failiure: \(msg) \(String(cString: curl_easy_strerror(message.pointee.data.result)))")
                 }
             }
             

    
    private let performQueue: DispatchQueue = DispatchQueue(label: "VaporAPNS.curl_multi_perform")
    
    private var runningConnectionsCount: Int32 = 0 {
        didSet {
            guard oldValue != runningConnectionsCount else { return }
            print("runningConnectionsCount \(oldValue) -> \(runningConnectionsCount)")
        }
    }
    
    private var repeats = 0
    
    /// Core cURL-multi Loop is done here
    private func performActiveConnections() {
        print("Now has \(self.connections.count) connections")
        
        var code: CURLMcode = CURLM_CALL_MULTI_PERFORM
        
        var numfds: Int32 = 0

        
        repeat {
            curlMessage = curl_multi_info_read(self.curlHandle, &numMessages)
            if let message = curlMessage {
                let handle = message.pointee.easy_handle
                let msg = message.pointee.msg
                
                if msg == CURLMSG_DONE {
                    self.connectionQueue.async {
                        
