In a large cast-iron pan, heat oil on medium high heat. Saute onions until translucent. Add carrots, celery, thyme, salt and pepper. Cook until vegetables are soft and fragrant. Stir in chicken stock and butter. Add flour and cook until thickened. Turn heat down to low, and add chicken and peas. Set filling aside to cool.