Add socket_timeout to RedisCache.

Close connection after detect redis-server is down.