Add abstraction for graphs. Kill xquery through JMX if possible.