fixed lock exception with neo4j