Instead of scp, always use rsync recursively with resume.