Starting app opens websocket connection.