Lower heat to medium-high and add onions, carrots, and garlic and cook, stirring, until softened, 5 to 10 minutes. Add wine, scraping up any browned bits, and bring to a simmer; lower heat to medium and cook until raw alcohol smell has mostly cooked off, about 20 minutes.