internal void Close(int timeout) => transport.Close(timeout);
public void Disconnect() { IsConnected = false; TcpStream?.Close(); TcpClient?.Close(); }