Preheat oven to 425 degrees. Melt butter in a large skillet. Stir in onion, carrots, and celery and a pinch of salt. Cook until onions are soft. Stir in thyme and chicken, seasoned with salt and pepper. Cook until chicken has started to brown. Sprinkle with flour and cook for one minute. Pour in broth and half and half. Cook, stirring often, until the sauce has thickened to slightly thinner than you want finished pie filling. Stir in the frozen peas. Remove from the heat. Add more salt and pepper, if needed, and set aside to cool slightly. While the filling is cooling, lightly butter a 9-inch pie plate and line with one pie crust. Add filling to the pie dish, and brush exposed edges with beaten egg. Lay the other pie crust on top. Press to seal edges. Trim off any excess with a sharp knife then crimp edges. Brush top with egg wash and cut a small slit in the middle to let out steam. Bake for 30-35 minutes, or until pastry is cooked and top is golden. Let the pie rest for 10-15 minutes before slicing.