Create redis pub only in master process