docs: public synchronized void clearStorage() throws BackendException {
          if (!hasAttemptedClose) {
              hasAttemptedClose = true;
              mgmtLogManager.close();
              txLogManager.close();
              userLogManager.close();
  
              scanner.close();
              edgeStore.close();
              indexStore.close();
              idAuthority.close();
              systemConfig.close();
              userConfig.close();
              storeManager.clearStorage();
              storeManager.close();
              //Indexes
              for (IndexProvider index : indexes.values()) {
                  index.clearStorage();
                  index.close();
              }
          } else {
              log.debug("Backend {} has already been closed or cleared", this);
          }
      }