Fixes #2712 - Handle Net::SSH::Disconnect gracefully