presto-main/src/main/java/io/prestosql/execution/QueryManagerStats.java/QueryManagerStats/queryStopped
class QueryManagerStats:    private void queryStopped()
    {
        runningQueries.decrementAndGet();
    }