You can micromanage the teleporting ships to avoid getting hit by any projectile weapons (ie non-instant hit weapons). Put the teleporters into their own control group, teleport in to the target to hit it, teleport away straight afterwards, and then teleport back in to hit again once they are ready to shoot again. Keep repeating until there are too many enemy shots and missiles following your teleporters, then exit that planet via a wormhole. All the shots that were following your teleporters will disappear and you can start fresh again.