US Senator Kerry warns Pakistan govt over spy agency