On the torus theorem for closed 3-manifolds