2 pounds green beans
2 tablespoons olive oil, divided
1 pound cremini mushrooms, sliced, divided
6 tablespoons unsalted butter, divided
4 large sprigs thyme
2 tablespoons all-purpose flour
1¼ cups whole milk
1 cup heavy cream
4 garlic cloves, finely grated
½ cup grated Parmesan
Freshly ground black pepper
¾ cup French’s fried onions
Preheat oven to 350°. Prepare an ice bath: In a large pot of boiling water, add green beans and cook until bright green, about 6 minutes. With a slotted spoon or tongs, quickly transfer green beans to ice bath to cool, then drain and transfer to a large bowl.
In a large ovenproof skillet over medium heat, melt 2 tablespoons butter. Add onion and cook, stirring occasionally, until tender, about 5 minutes. Add mushrooms and season with salt and pepper. Cook, stirring often, until mushrooms are golden, about 5 minutes more. Stir in garlic and cook until fragrant, 1 minute, then transfer mixture to green bean bowl.
In same skillet over medium heat, melt remaining 4 tablespoons butter. Whisk in flour and cook until golden, about 2 minutes. Gradually whisk in milk and season with salt and pepper. Bring to a simmer and cook until thickened, about 4 minutes. Remove from heat, then add green bean mixture and toss until even combined.
Bake until warmed through and bubbling, about 30 minutes. Top with fried onions and bake 5 minutes more.