Don't error if using scp in a thread

I fixed it like in the run command.