close

open override fun close()

Closes the connection stream, sending a Terminate message if the socket is still open.