Bot is not able to run away. Bot gets stuck in a loop by selecting the menu and then selects a random structure type(ex Citadel) and then starts back over. It does this until stopped.
When mining till full, it selects the correct structure via the overview window and docks. If it can't find the structure it then does it via the menu but loops.
How can I fix this?