Fix concurrency issue

After removing synchronization on all public methods, there was an
issue with concurrency in the creation of entity vertices.