We recently introduced a new HTTP command (not yet documented because used internally by Studio, but your question demonstrate that could be useful to users too):
HTTP POST against /connection/<command>/<id>
Where:
- command can be:
- kill to kill a connection
- interrupt to interrupt the operation (if possible)
- id, as the connection id. To know all the connections use GET /connections/[<db>]
You've to execute this command authenticated in the OrientDB Server realm (no database realm), so get the root password from config/orientdb-server-config.xml file (last section).
In your case use interrupt.