Redis : use setex instead of set and expires

Update Redis put function to use only setex, instead of set then expires