Sensory neurons regulate the effector functions of CD8+ T cells in controlling HSV-1 latency ex vivo.