As primary race tightens, Democrats brace for a messy winter