auto kill rsync buffer when finish