purge loop for when rsync consumes all ram