Fixed error if neo4j server dies unexpectedly.