Wait - if this parameter is set to True,the session will not be terminated until all cached data is sent to the server. This is equal to calling Close() without parameters.
Description
Call this method to close the SSH connection.
Port forwarding is stopped immediately after calling this method.