     }
     
     private func transmitScreen() {
+        
+        guard socket?.status == SocketIOClientStatus.Connected else {
+            debugPrint("Remote Connection Not Connected - Will not transmit screenshot")
+            return
+        }
+        
         let image = captureScreen()
         let smallerImage = UIImageJPEGRepresentation(image, 0.0)
         let base64String = smallerImage?.base64EncodedStringWithOptions(NSDataBase64EncodingOptions(rawValue: 0))

    }
    
    private func requestSupport() {
        let message = ["vendorid" : "\(UIDevice().identifierForVendor!.UUIDString)"]
        
        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {

        
        let q_background = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0)
        let delayInSeconds:Int64 = 5
        let popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * 1000000000)
        
        dispatch_after(popTime, q_background) { () -> Void in
            self.requestSupport()
