Security concerns have plagued Pakistan for many years , and some foreign sports teams have refused to play in the country .