Lock around inserting new embeddings
Lock around inserting new embeddings

* Prevents races where two documents are concurrently trying to add the same
embedding.

signed-off-by Iure
signed-off-by Kyle

promiscuous-io/promiscuous_black_hole,crowdtap/promiscuous_black_hole