Changed socket tracking to redis