move redis out of on connection to avoid duplicates