terminate()

Client.terminate()

Terminate the client by shutting down workers.

This method does the opposite of initialize(). It will stop the dispatcher and shut down updates and download workers.

Raises:

ConnectionError – In case you try to terminate a client that is already terminated.