Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg