Find and delete duplicate documents in Elasticsearch

Seems odd that it would give you a Connection refused error then?