Solving locking issues with DiskCache on multi-processing