shell: Expect disconnect on reload and don't react to it.

Also on the dashboard.

Fixes #1221
Hmm, the idea is that the UI stays exactly as it is, and just freezes.  Stopping a plot doesn't have any visual effect right now, but maybe that will change.