http.end() is never called if the JSON deserialization fails. https://github.com/chrisjoyce911/esp32FOTA/blob/6648c9d5d1e9f9188cd30915588875eba88caec0/src/esp32fota.cpp#L342