Closing the RViz window after running demo.launch (which launches the demo node and an RViz node) leads to the demo node escalating to SIGKILL or otherwise not cleanly terminating. This could be somehow related to starting the RViz node from the launch file (as the same does not happen seem to happen with the rviz_3d_object_visualizer). Killing the node directly seems not to cause the same issue.
Refer to the snapshots below for error logs observed in the terminal when this occurred in two separate tests:

