NPC in encounters just shoot at you, then run quickly to follow you, even if they're out of Action Points. So the best strategy when followed by groups of NPC is to make them loose all their AP, to make them unable to shoot at you when you are running. Then, step in the exit grid, and you're out.
If you are hit during those 10 seconds, the timeout simply starts over.