An Air Canada jet nearly caused one of the worst disasters in aviation history