Fix to avoid connection pool exhaustion for slow downloads and big files