I am just trying to kill query which is stuck but it throws me a error.
127.0.0.1:8529@testapp> require("org/arangodb/aql/queries").kill("2418");
JavaScript exception in file '/usr/share/arangodb3/js/client/modules/@arangodb/arangosh.js' at 100,7: ArangoError 1591: cannot kill query '2418' ! throw error; ! ^ stacktrace: ArangoError: cannot kill query '2418' at Object.exports.checkRequestResult (/usr/share/arangodb3/js/client/modules/@arangodb/arangosh.js:98:21) at Object.exports.kill (/usr/share/arangodb3/js/client/modules/@arangodb/aql/queries.js:107:12) at :1:37