Its normal the bot was not responding while its running. The time spent depends on the total of server requests (connect, build, farm, …)
I dont know why it is running again after 10 minutes with status ready. I will revise it.
Your 2n problem, probably all free castle are already attacked recently by other near castles.