fix issue #27, make caches multi-process safe