with a patch submitted to the monkey mailing list, it finally works with large files :), handling the error case when socket closes unexpectedly