methodTsnipSSHClient.Stop
procedure Stop; virtual;
Closes the snip connection, which closes its SSH channel, and sets Active False. The SSH connection itself stays up.
May be called from another thread while Start is still running. Start then builds no connection: while it waits for the server to answer the channel open, it raises EsnipClosed at once; while it sets up the snip connection on the open channel, it closes that connection again and raises EsnipClosed when that step returns. Stop does not wait for Start to return, and it does not close the channel Start is waiting on: if the server answers that open after Stop, the channel stays unused until the SSH connection closes. Nor does a Start that fails after a Stop close its channel; that too stays until the SSH connection closes. Close the SSH connection too - as TsnipClient.Stop does - to end every part of Start at once.