Add requirements for redis module.
Add reconnect loop for connect to redis server.