minor refactoring for some async spymemcache calls