Finish rsync thread