Set it even longer. It wouldnt hurt for the bot to sit in the game for a little bit after. The runs would be slower but slow runs > no runs.
Also, you may want to try to bot other chars while you are there. This increases your game time an might prevent a realm down. Not sure. I havn't used this bot in ages and when something went wrong with it, I went to blizzhackers :-\.