Changes to the redis cache provider

Correct implementation of IDisposable to avoid redundant calls