The order to close a consulate and diplomatic annexes in New York and Washington was expected since Russia told the United States to cut its embassy staff in Moscow.