Added a rescue to handle Net::SSH::Disconnect.