adding shutdown graph method in gremlinquery class