nuvolabase/orientdb — pull request #1542 by regzhuce (2013-06-28 07:43:22+00:00)
Title: database should be closed after sending record content

database is closed before we send the record content to the client,
and we get an exception like this:
2013-06-28 15:21:34:305 SEVE Internal server error:
com.orientechnologies.orient.core.exception.ODatabaseException: Database 'local:/orientdb/databases/tinkerpop' is closed [ONetworkProtocolHttpDb]