thread callback through cache write functions to fully serialize