Checklist
Feature description
Hi, my main loop is getting stuck for over 3sec and therefore causing the task watchdog to trigger and coredump/restart.
I need a similar mqtt api like esp_websocket_client_initiate_stop() and esp_websocket_client_is_already_stopped()
Those APIs are non-blocking and allow you to poll if the websocket client is already stopped.
How much effort would it be to provide a esp_mqtt_client_initiate_stop() and esp_mqtt_client_is_already_stopped()
Use cases
Single threaded application to save on task stack space because we are running out of memory everywhere
Alternatives
No response
Additional context
No response