Resolve race condition with immediate components and adaptorfactory