In the event the calculation backfired with the Pakistani population overwhelmingly angry at the US, eventhough their country is virtually destitute from the 10 year support it has offered the US in its war on terror. The brotherly ties between Zardari and Ahmadinejad are strengthened and explained in this video.
The US can no longer survive in Afghanistan without support from either Pakistan or Iran. Source