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.
Don't close the connection it's already closed
Tests for close conn on exception
Assert that the return value from ssh block is returned
Merge pull request #133 from carlhoerberg/ensure_close_connection

Ensure the connection closes even on exception