 				}
 			}
 
+			self.logDebugMessage("Completed processing background URL Session.")
+			
 			UIApplication.shared.endBackgroundTask(self.backgroundUpdateTask)
 			self.backgroundUpdateTask = UIBackgroundTaskIdentifier.invalid
 			

	}
	
	func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
		AccountManager.shared.refreshAll()
		completionHandler(.newData)
	}

			completionHandler()
		}
		
		logDebugMessage("Handle background URL Session.")

		DispatchQueue.global(qos: .background).async { [unowned self] in
			
			// Set up a background task to let iOS know not to kill us
			self.backgroundUpdateTask = UIApplication.shared.beginBackgroundTask {
