[ui] better handling detect of websocket closed
[ui]adding Thread.sleep because of traffic jam