TWebSocket: more stable connection behaviour