added 5 tries to rsync if failed