Robust ws connection.

Notify user when we have problems with WS connection. For example, unexpected close of connection.