RSYNC keep alive on WSL (Linux subsystem on Windows)

When doing anything with rsync over ssh in your terminal window running on the WSL, rsync will just stop randomly. It comes alive again when you just resize the terminal window!

But if you don't want to keep doing that then just open another terminal window and run this:

while killall -CHLD ssh; do sleep 0.1; done