Fixed issue where unit tests would get stuck on an ssh timeout

... at least on my machine