The viewer can freeze after a teleport if your computer doesn't have enough memory (RAM) to hold the new world's assets before it frees the memory it used from the world (region/VarRegion) you teleported from.

You can reduce the likelihood of the viewer freezing after a teleport by adding more memory to your computer.