use :out port to trigger websocket close