Fix endless loop in websocket client

It is connected with CPU bug on ConnectSDK.