private void Session_Disconnected(object sender, EventArgs e)
{
// If objected is disposed or being disposed don't handle this event
if (_isDisposed)
return;
_exception = new SshConnectionException("An established connection was aborted by the software in your host machine.", DisconnectReason.ConnectionLost);
_sessionErrorOccuredWaitHandle.Set();
}