Added logic to attempt to recover from partially downloaded GML