connections.py
- added optional redis config index argument
- keeping track of connection failures