Wipe each mushroom with a damp paper towel or soft brush (avoid rinsing under water), trim the dry stem ends, and slice about 1/4 inch thick. Finely dice the onion, mince the garlic, strip the thyme leaves, chop the parsley, and measure out the flour, broth, half-and-half, and sherry.
Heat a Dutch oven over medium-high heat and melt 1 tablespoon butter. Add half the mushrooms in a single layer, let them sit 2 to 3 minutes, then stir and cook 5 to 6 more minutes until deep golden and the liquid has cooked off. Transfer to a plate, repeat with another tablespoon of butter and the second batch, then set aside 1/2 cup of the browned mushrooms for garnish.
Reduce heat to medium, add the remaining 2 tablespoons butter and scrape up the browned bits. Add the onion and 1/4 teaspoon salt and cook about 5 minutes until soft and translucent, then stir in the garlic and thyme and cook 30 seconds until fragrant without browning the garlic.
Sprinkle the flour evenly over the onion mixture and stir constantly for 1 to 2 minutes over medium heat until it forms a thick paste and the raw flour smell disappears.
Whisk in about 1 cup of broth until smooth, then slowly add the rest in two or three additions, whisking after each so no lumps form. Scrape the bottom of the pot, stir in the larger portion of browned mushrooms, and bring to a gentle boil, stirring occasionally.
Reduce the heat to medium-low, partially cover, and simmer for 15 minutes, stirring every few minutes, until the soup thickens slightly and the mushrooms are very tender.
Turn off the heat and pulse with an immersion blender in short bursts for 20 to 30 seconds until creamy but still slightly chunky. If using a countertop blender, work in small batches, fill the jar no more than halfway, and vent the lid with a towel.
Over low heat, slowly stir in the half-and-half without letting the soup boil, then add the dry sherry and the reserved 1/2 cup of browned mushrooms. Heat gently for 3 to 5 minutes until steaming, then stir in the remaining 1/2 teaspoon salt and the black pepper and taste for seasoning.
Ladle the hot soup into warm bowls, sprinkle each with fresh parsley and a few grinds of black pepper, and serve right away.