Using a little sense works wonders. If you think you will need to be afk for more than 5 minutes, stay in tower. If you have already taken off and think you need to go afk, land if you're not far from the base. If you have already taken off and something comes up that you must go afk, turn your plane away from the fight and set the autopilot.