adding infinite loop in sync_rsync