Manchester United manager Erik ten Hag praised his team for their perseverance, as they secured a 1-0 win against Omonia Nicosia with a stoppage-time winner.