Tool call timeouts over big responses

My assistant (model gtp4o) when calling a function which response is long (around 1000 tokens) it times out (I have a 45 seconds timeout) with status queued.
When the same call happens but the user only requires part of the full function response it works (i.e, all week meals vs meals until Thursday).

Any reason why this happen?