start websocket to dashboard with main thread, but connection lost problem continue