How to close a TcpClient
<p>There is no <code>TcpClient.Close()</code> method in .Net Core/.Net Standard.
<a href="https://i.stack.imgur.com/CiLss.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CiLss.jpg" alt="enter image description here"></a></p>

<p>How do I close the client?</p>