Note that the former head of the Windows Phone group during the WP7 and WP 8.x timeframe, Terry Myerson, is now the head of the Windows division as a whole. Probably would have looked really bad for him politically if Windows Phone were shut down too soon after his promotion.