Melt the butter in a large saute pan over medium heat. Cook the onions, carrots, and celery with salt and pepper, to taste, until the carrots soften, about 10 minutes. Add the garlic and thyme and cook for an additional minute, stirring frequently. Add the flour and cook off the raw flavor, about 1 minute more. Turn up the heat to medium-high and deglaze the pan with the wine. Whisk in the stock and Dijon mustard. Add the peas and chicken and cook on a very low simmer until the sauce thickens up into a gravy, 5 to 10 minutes. Remove from the heat and set aside.