Race condition when retrieving the mapping immediately after creating a document that contains a new field