Only call `Node.connect().close()` if `Node.connect()` is not `None`.

Not sure if we should check that it actually is a
`paramiko.SSHClient`. However, `Node.connect()` only returns a
`SSHClient` class or None, so if it's not None it has to be a
`SSHClient` class.
Fix issue #97