fix the "signal only works in main thread" also in scp
Merge pull request #4 from frog32/master

Don't error if using scp in a thread