private static void dispose(@NotNull PluginUpdatesService service) {
    synchronized (ourLock) {
      SERVICES.remove(service);
      if (SERVICES.isEmpty()) {
        ourAllUpdates = null;
        ourPrepared = false;
        ourPreparing = false;
      }
    }
  }
private static void dispose(@NotNull PluginUpdatesService service)