lxml XPath memory leak resolved