The upstream is not well suited to use in an Async environment. Reportedly, [this ](https://github.com/me-no-dev/ESPAsyncWebServer/blob/f13685ee97675be2ac9502d177d3024ebc49c1e0/src/ESPAsyncWebServer.h#L60-L71) will allow it.