Move dispatch_once outside dispatch_async.