Bug 1107775 - Make deferred finalization more re-entrant safe, r=mccr8