In a heavy bottomed sauce pan, on low heat, sweat leeks in butter until translucent. Add celery and cook until soft. Add garlic and thyme and cook for 1 minute then evenly incorporate flour. Raise heat to medium and cook for 3 more minutes while constantly stirring.