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

Also on the dashboard.

Fixes #1221