Sometimes the Bot cant attack Monsters because they are behind a wall or its a Bandit from ACT 2.
Maybe you set a timer or something that the Bot changes the target after a fixed time. Because i had the experience in areas with lot of walls bot got stucked a lot. also in act 2 at bandit he wasnt able to attack and then just quitted the game because of 60 secs no killing
kind regards