Address review comments

Use pid() for timer call so that a crashing stat cache does
not end up with multiple timers for the same stat mods
Merge branch 'kv505-serve-from-cache' into kv508-safe-stats