dismiss httprequest with websocket, dismiss websocket with serialport communication