Telecom ends Madison’s perfect season with 3-2 victory