setting up redis sockets in a loop
setting NODE_ENV manually