Hello NightSilv (again),
Sorry was on my phone when I wrote this, a more advanced tactic is, to disconnect while the NPC's move towards you, this will ensure that you don't teleport back to the last pokecenter and it won't even create a new battle BUT you skip the NPC regardless :) needs a bit of timing and practice OR if you are in the end game, like me; you can buy the new "Transit Pass" in order to travel one week for free after you paid 100k (ofc if you have the teleporter quest).