fixes a goroutine leak
store the pointers to the memory and redis stores rather then the actual objet