Defensive property access on thread.children