         }
         checkTabCount(failures: 0)
         #endif
-        
-        tabScreenshotQueue.cancelAllOperations()
     }
 
     func close() {

        return false
    }

    // Added an async queue queue
    let queueName = "com.moz.tabscreenshot.queue"
    let tabScreenshotQueue = OperationQueue()

    var mimeType: String?
    var isEditing: Bool = false
    var currentFaviconUrl: URL?

    }

    func setScreenshot(_ screenshot: UIImage?) {
        self.screenshot = screenshot
    }
    
    func toggleChangeUserAgent() {
