fix crash during race with purge() in random mode