Toroidal insulating inhomogeneity in an infinite space and related problems