Fix io_latency_probe hang on exit
Refactor KeyCache