Raise Closed event before invocing Close() to make sure we do not raise this event after we finished disposing.
Raise Closed event before invocing Close() to make sure we do not raise this event after we finished disposing.

sshnet/SSH.NET