fixed issue w/ buffer blocking on write to websocket