I've created some entities via /bulk and can get them back via /traversal. But when i call /graph i get back: IOException: Pipe not connected

Error message:
After a bit of debugging, i believe its because the InputStream [1] hasn't been fully written to, as the graph is retrieved on another thread [2], which means the REST call has returned and closed.

[1] https://github.com/hawkular/hawkular-inventory/blob/master/hawkular-inventory-rest-api/src/main/java/org/hawkular/inventory/rest/RestGraphSON.java#L59
[2] https://github.com/hawkular/hawkular-inventory/blob/master/hawkular-inventory-impl-tinkerpop-parent/hawkular-inventory-impl-tinkerpop/src/main/java/org/hawkular/inventory/impl/tinkerpop/TinkerpopBackend.java#L1369

Should this endpoint not use a latch/wait or AsyncResponse.resume like the metrics APIs does? As i am able to get the graph back, if i keep the connection alive via debug checkpoints.

Cheers.