stop

fun stop()

Close the socket.