Create a new pending queue, then re-submit pending requests in old pending queue,preventing new events being inserted into it. Closes https://github.com/espressif/esp-idf/issues/2191
Create a new pending queue, then re-submit pending requests in old pending queue,preventing new events being inserted into it. Closes https://github.com/espressif/esp-idf/issues/2191