check websocket connect