Without repeating what other people said (apologies if this is mentioned before as well, i didn't read all comments).
I've noticed that when finishing a run, in both successful and unsuccessful runs (i believe), the bot tries to immediately start another run. Without looting the chest. I think...