Place the oil, onion, carrot, celery, garlic, and thyme in a nonreactive small saucepan over medium heat. Cover and sweat or cook, tossing once or twice with a wooden spoon, until the vegetables are tender, 5 to 10 minutes (add a spoonful of water if the vegetables start to stick to the pan).