Front-end app is reset when the WS connection is lost. Fixes #37