Thread safety to avoid reentrant of NSXMLParser