Move keepalive_thread to cache_timer_thread.