neo4j/neo4j — pull request #3385 by jakub- (2014-11-03 13:58:14+00:00)
Title: Fixed issue with cancelling long running queries in server.

JsonGenerators were not properly closed in finally blocks which lead to
malformed json when queries were cancelled by the user.