US to maintain close links with Musharraf despite critici