Bug 1074048: Allow MainThread access if the graph is shut down (for RunDuringShutdown) r=roc