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