Bot is getting termintated automatically

Hi Team,

we have few bots which should run in VDI infinitely checking for any new item in the queue and process if any.

We are observing that after running for some time, it gets stopped automatically. When we checked the execution log we could see that there was an error “A task was canceled” every time it got stopped.

Can you please help what could be root cause of the error and how to fix it.