|  | @@ -3,6 +3,7 @@ using System.Net;
 | 
											
												
													
														|  |  using System.Net.Sockets;
 |  |  using System.Net.Sockets;
 | 
											
												
													
														|  |  using System.Threading.Tasks;
 |  |  using System.Threading.Tasks;
 | 
											
												
													
														|  |  using Renci.SshNet.Channels;
 |  |  using Renci.SshNet.Channels;
 | 
											
												
													
														|  | 
 |  | +using System.Threading;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  namespace Renci.SshNet
 |  |  namespace Renci.SshNet
 | 
											
												
													
														|  |  {
 |  |  {
 | 
											
										
											
												
													
														|  | @@ -67,8 +68,6 @@ namespace Renci.SshNet
 | 
											
												
													
														|  |                  {
 |  |                  {
 | 
											
												
													
														|  |                      this.RaiseExceptionEvent(exp);
 |  |                      this.RaiseExceptionEvent(exp);
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -                this.Stop();
 |  | 
 | 
											
												
													
														|  |              });
 |  |              });
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |              this.IsStarted = true;
 |  |              this.IsStarted = true;
 | 
											
										
											
												
													
														|  | @@ -80,6 +79,7 @@ namespace Renci.SshNet
 | 
											
												
													
														|  |          public override void Stop()
 |  |          public override void Stop()
 | 
											
												
													
														|  |          {
 |  |          {
 | 
											
												
													
														|  |              base.Stop();
 |  |              base.Stop();
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |              //  If port not started you cant stop it
 |  |              //  If port not started you cant stop it
 | 
											
												
													
														|  |              if (!this.IsStarted)
 |  |              if (!this.IsStarted)
 | 
											
												
													
														|  |                  return;
 |  |                  return;
 | 
											
										
											
												
													
														|  | @@ -90,7 +90,6 @@ namespace Renci.SshNet
 | 
											
												
													
														|  |              this.IsStarted = false;
 |  |              this.IsStarted = false;
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |          #region IDisposable Members
 |  |          #region IDisposable Members
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          private bool _isDisposed = false;
 |  |          private bool _isDisposed = false;
 |