avoid race during purge