Random errors during git clone step

The log:

Initialized empty Git repository in /drone/src/.git/
+ git fetch origin +refs/heads/master:
error: RPC failed; curl 56 Recv failure: Connection reset by peer
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

It does not seem to happen on my other repos.
This repo is particularly large than others. Not sure if it is related.
Any suggestions on troubleshooting?

For my reference: