Created a thread-safe NSMutableDictionary subclass to track all the active URL session tasks.