Compensate for resource removal race.