expire cache only if key exists (fixes #89).