How to run a background task that could take long time to complete

For Workers & Pages, what is the name of the domain?

parakeet-api-dev.jowanza-fac.workers.dev

What is the issue or error you’re encountering

I want to run a background task once request is completed, issue I am facing is that worker disconnects before the task can be completed

What steps have you taken to resolve the issue?

I tried using waitUntil to run the background task but my task runs for more 60 secs so it is disconnected