Re-stop and play removes graph

Within the python scripting I noticed that if I call

simulation_context.stop()
simulation_context.play()
# stuff
simulation_context.stop()
simulation_context.play()

I get omni.graph.core._impl.errors.OmniGraphError: Failed trying to look up attribute with (/Render/PostProcess/SDGPipeline/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0_LdrColorSDIsaacSimulationGate.inputs:step, node=None, graph=None) after the second stop (and play).

Any way to retain those?