Take it from people who have seen the good and the bad from the Americans. They can do a U-turn from any point. All this cooperation means squat. You think Pakistan didn't do all this in its time? There was a saying I heard from an Afghan baker in Dubai that in English would mean "They are the people who will wipe your tears, then slap you to make you cry again and then repeat".
We are quite aware of these issues.
But the US is not the only U-turner.
You will happily accept all US demands vis-a-vis Afghanistan and the "war on terror" if you can get help from the US to attack India.