Update server/src/main/java/com/orientechnologies/orient/server/distributed/OStorageSynchronizer.java

Reduce risk for infinite loop