Shuts down graphdb