Stopping long term queries

Hi, I was wondering whether there is a way (in ES 1.7 or ES 2.0) to identify/stop long running queries. I saw circuit -breaker but that seems to be regarding memory, not time. Any ideas/references/tools?

There's currently no way to do this. We're working towards being able to with the introduction of the task management API.

Thank you @warkolm!