fixed some issues in the multi threaded neo4j impl. some code cleanup to
do still