Can a running Elasticsearch query be cancelled?

At this time, you can specify a timeout on a query, but a query cannot be explicitly canceled once it is sent.

We do have plans to make the query timeout more "accurate", i.e., terminate the query if it exceeds your specified timeout in a more consistent/predictable manner. Once in place, in the future it is possible/likely that we will add the ability to explicitly delete queries, too.