US officials managing the $24m programme prepare to leave Pakistan while local staff connected to it are on verge of losing jobs.