Deglaze the pan with the red wine and cook on high heat for 1 minute, scraping the bottom of the pan. Add the beef stock, tomato paste, thyme, 1/2 teaspoon salt, 1/4 teaspoon pepper, and 1 bay leaf. Bring to a boil and cook uncovered on medium-high heat for 10 minutes. Remove thyme sprig and bay leaf from the sauce. Add the onions and carrots and simmer uncovered for 15 minutes, until the sauce is reduced and the vegetables are cooked.