public void registerCloseable(@NotNull AutoCloseable closeable) {
    synchronized (myCleanupList) {
      myCleanupList.add(closeable);
    }
  }
public void registerCloseable(@NotNull AutoCloseable closeable)