In a medium skillet, melt butter over low heat and add the celery, garlic, curry powder, thyme, red pepper flakes, salt and pepper - cook for 3 minutes. Stir in flour until smooth for about 1 minute. Pour in milk and cook over medium heat, stirring constantly, until mixture comes to a boil and thickens. Set aside and cool slightly. Whisk the egg yolks one at a time into the sauce. Stir in coconut and crab meat.