City officials said mask mandate prevented Thanksgiving spike