slab: ensure cache_alloc_refill terminates