> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# exit

#### Client.exit()

Close the connection with the server.

If the client has launched the server, this method also
kills the server process.

### Examples

```python theme={null}
>>> import ansys.meshing.prime as prime
>>> prime_client = prime.launch_prime() # This launches a server process.
>>> model = prime_client.model
>>> fileio = prime.FileIO(model)
>>> result = fileio.read_pmdat('example.pmdat', prime.FileReadParams(model=model))
>>> print(result)
>>> prime_client.exit() # Sever connection with server and kill the server.
```
