fun close(): Unit
Shuts down the client and lets the server know it can free the used resources (in a nice way)