Not sure about the CDI lifecycle if there is some shutdown callback from the container that should be used to shut down the db
and we should use new GraphDatabaseFactory().newEmbeddedGraphDatabase(path)