synchronized send() on websocket