I had the same problem with the wifi failing under load.
I reflashed with the latest “clean” firmware and it was then very stable.
The clean version is probably good for your application anyway rather than the full factory version.