boolean reloaded = false;
for (int retry = 0;; retry++) {
try {
final OrientEdge e = g.addEdge(null, vOut, vIn, iEdgeLabel);
addInCache(vOut.getProperty(keyFieldName), vOut.getVertexInstance());
addInCache(vIn.getProperty(keyFieldName), vIn.getVertexInstance());
edgesCreated.incrementAndGet();