Disconnects from the remote host.
def disconnect() -> None: ...
This method disconnects from the remote host. Calling this method is equivalent to setting the connected property to False.