If the browser tab is closed while the plot_graph demo is running, don't
crap out with a big, scary exception.