fix purge multi threading issues. we need to recheck the entry to purge.