socket commands wait until opened
updated websocket