try to handle ssh timeouts gracefully