Fixed cedar plugin to avoid [NSThread isMainThread] assertion under a race condition