private void queueToWolf(@NotNull VirtualFile file) {
    if (ApplicationManager.getApplication().isDispatchThread()) {
      ApplicationManager.getApplication().executeOnPooledThread(() -> doQueueToWolf(file));
    }
    else {
      doQueueToWolf(file);
    }
  }
private void queueToWolf(@NotNull VirtualFile file)