I did tested another platform working with BCM43438 and the problem is exactly the same! Using FreeRTOS + LwIP worked perfectly again. This would increase the chance of having issue with ThreadX.
There is a known issue in the Wi-Fi for these devices
Use SDK 3.4.0 for development for now till this is fixed