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

Also on the dashboard.

Fixes #1221
Closes #1287
Reviewed-by: Stef Walter <stefw@redhat.com>