fix typo
work around plink's 3 second timeout
a better solution to plink timeout problem