Added timeouts to the cache