closing temporary graphs, and shutting down the graph messaging target