Stop flow when websocket terminates