Avoid IO exception while desotrying cache