one more fix for graph.close in test