Try adding these settings:
KeepAlive yes
ServerAliveInterval 20
ServerAliveCountMax 6
to your /etc/ssh/ssh_config or ~/.ssh/config file.
To solve Broken Pipe errors.
Reference: https://unix.stackexchange.com/questions/68775/rsync-timed-out