In the RDP/RDS session settings, there is a parameter such as timeout. This parameter can be configured so that the RDP/RDS session will automatically disconnect after some time. The bot may stop working due to a disconnection.
Solution
We recommend you to contact your system administrator to configure the timeout settings.