The city ordered the factories to close from July 25 through September 20 .