Temporary workaround for premature connection timeouts during file downloads.

Connections time out while large files are verified, leading to the next
file download failing.

This addresses #2367 while work on protocol level fix is in progress.
(cherry picked from commit 2f866688bd00bda0ed50291dbffde7b01ff6ee9d)