Ensure the connection closes even on exception

In case the block given to ```Net::SSH.start``` throws an exception, make sure that we still close the connection.