The United States is temporarily closing its consulate in the Mexican border city of Nuevo Laredo because of escalating violence .