send only one message once for websocket