Handle ConnectionError gracefully
Restored lxml for cleanmx