Fixed issue #2842

OrientGraphFactory.getTx() may cause performance degradation