In a medium saucepan, heat oil over medium heat. Add cremini mushrooms and onion. Cook, stirring occasionally, until liquid has evaporated, and mushrooms are lightly browned, 5 to 8 minutes. Add garlic, crushed red pepper and thyme. Cook 1 minute more. Remove pan from heat. Carefully add wine; return to heat and increase to medium-high. Cook and stir, scraping up any browned bits from the bottom of pan, until wine has nearly evaporated, about 2 minutes.