The United States has warned its citizens in Tanzania to be cautious after the commercial capital Dar es Salaam announced a crackdown on homosexuality, a criminal offense in the country.