object-store: close all packs upon clearing the object store