emit drain event on websocket