Issue was fixed by removal of chunked reads from QuerySet iteration in 70679243d1. Thanks Simeon Visser for the patch.
70679243d1
Thanks to av@rdf.ru and flarno11@yahoo.de for the report.