mod_wsgi was configured to restart hgweb after 1000 requests, and since there was only one process running, that made it kill your connection during huge clones.
The recommendation from Selenic is to leave that parameter unset, so I did that. Cloning works fine now. /ek