Thread safe asynchronous access to NSMutableDictionary