Make the béchamel sauce. In a skillet, melt butter and sauté minced onion over medium heat for 3 minutes. Add flour to the skillet and cook for a minute, then pour in milk and heavy cream. Continue cooking and stirring while sauce thickens, about 3 minutes. Add salt, pepper and leaves from 4 sprigs of thyme. Remove from heat and set aside.