                                       userID: self.userId,
                                       alias: self.alias,
                                       hadPersistedDistinctId: self.hadPersistedDistinctId)
+            if let completion = completion {
+                DispatchQueue.main.async(execute: completion)
+            }
         }
 
         if MixpanelInstance.isiOSAppExtension() {

     - parameter distinctId: string that uniquely identifies the current user
     - parameter usePeople: boolean that controls whether or not to set the people distinctId to the event distinctId.
                            This should only be set to false if you wish to prevent people profile updates for that user.
     */
    open func identify(distinctId: String, usePeople: Bool = true) {
        if hasOptedOutTracking() {
            return
        }

                    self.connectIntegrations.reset()
                    MixpanelTweaks.defaultStore.reset()
                    #endif // DECIDE
                    if let completion = completion {
                        DispatchQueue.main.async(execute: completion)
                    }
                }
                self?.archive()
            }
