In a deep skillet or medium saucepan over medium heat, melt the butter or oil.
Whisk in the flour to form a paste.
Cook, stirring constantly with a wooden spoon, for 10-15 minutes until the roux is the color of coffee with cream. Be careful not to let it burn.
Increase the heat to medium-high and add the sliced mushrooms, salt, and pepper.
Stir constantly until the mushrooms are coated in the roux and begin to release their liquid.
Reduce heat to medium-low and cook for 5-8 minutes, until they start to brown.
Stir in the minced onion, celery, and bell pepper, along with the thyme sprigs.
Cook for about 3 minutes, stirring occasionally, until the vegetables have softened.
Pour in the stock, increase the heat to medium-high, and bring the stew to a boil.
Once boiling, reduce the heat to maintain a gentle simmer.
Cover and cook for 10 minutes, or until the stew has thickened and the vegetables are tender.
Remove and discard the thyme sprigs.
Taste and adjust seasoning with more salt and pepper if needed. To serve, ladle into bowls and garnish with a splash of sherry and fresh thyme leaves, if desired.
Don't rush the roux.
Stir it constantly over medium-low heat until it reaches a nutty, coffee-with-cream color for the deepest flavor.