AI bot through webhook Timeout issue

I’ve connected a ChatGPT bot through a webhook. It connects fine, I can send a message and receive an answer, but when the Timeout reaches its limit after the last message it will send the Timeout Fallback message and change the status of the ticket back to Pending. The status in the webhook logs will also change form Success to Error. It seems it doesn’t register the reply from the server, even though the message comes through fine. How can I prevent this issue?