Gunicorn error -- reset aplication

Good afternoon, I have a Flask application running in a replit and I managed to deploy it but I’m having trouble with some restarts. I needed to solve this problem because I have a task that runs in a thered, but when the application starts the thered is finished. From what I can understand the problem is in Gunicorn but when I try to use a multi-thered it ends up giving errors because I create several simultaneous tasks and this is not a solution. I really need to understand what causes this error and solve these by restarting my replit

Log:

12/07/23 12:29:05 PM
[2023-12-07 15:29:05 +0000] [18] [INFO] Booting worker with pid: 18
12/07/23 12:29:05 PM
forwarding local port 8081 to external port 1104
12/07/23 12:29:05 PM
[2023-12-07 15:29:05 +0000] [16] [INFO] Listening at: http://0.0.0.0:8081 (16)
12/07/23 12:29:05 PM
[2023-12-07 15:29:05 +0000] [16] [INFO] Using worker: sync
12/07/23 12:29:05 PM
[2023-12-07 15:29:05 +0000] [16] [INFO] Starting gunicorn 20.1.0

Comando do deploy:

gunicorn  -b 0.0.0.0:8081 app:app

I’m still having this error :frowning: