@Shaik.Yezdani
Then there might be a possibility that the error might be caused due to system lock/sleep settings.
Tried to replicate the error by locking the system from my end but the bot ran fine.
The job would not run only when when the robot became unresponsive.But this did not give any error but the job was in pending state.
Please try to change the system lock/sleep settings to never and check if this might resolve the error.
Alternatively, you can check this post: