While rice is cooking in oven, prepare mushrooms. Heat olive oil over medium heat and stir in shallots—cook for 2 to 3 minutes until softened. Raise heat and add mushrooms, stirring for about 3 minutes until fragrant. Add salt, pepper, garlic and thyme and cook until mushrooms sweat. Taste for seasoning.