OK got it. And "use_get_query ( request ) " you are calling from the frontend, right?
If so, yes, you can run into the 14 secs timeout (frontend to backend call). Only way out: move all backend code to the frontend (=page). If done (so not calling a backend function) there, it will run “forever” (not quite, there’s another timeout, the db-token), but let’s not get ahead of ourselves.
EDIT: did you know that backend processes, called from frontend, will keep running, although frontend times out? I use that. Error in frontend, don’t care, backend keeps running.