RELOAD-313

Fixes the issue that the workspace was shown when exiting a running app and was disconnected from the server.