It's a pretty handy spell regardless. You'd probably take more damage from trying to walk out of a long dungeon than from casting teleport.