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

Reduce risk for infinite loop