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

Also on the dashboard.

Fixes #1221
Shouldn't the graphs still stop, even if we're expecting a disconnect? Just for completeness?