retry scp if it fails the first time