forked from espressif/esp-protocols
If Websocket client is set to not reconnect, we move to Unknown state to clean up the task after dispatching disconnected event.
If Websocket client is set to not reconnect, we move to Unknown state to clean up the task after dispatching disconnected event.