The original reason was that SimpleXmlElement was throwing exception about "node no longer exist".