MQTT stop working after receiving large bytes of data in FreeRTOS

Do you have configCHECK_FOR_STACK_OVERFLOW set to 2?