Disconnects any remaining connections.
Disconnects any remaining connections. Both idle and active. If you are accessing Elasticsearch through a proxy that keeps connections alive this is useful.
If your application uses the dispatch library for other purposes, those connections will also terminate.