Added restarting if redis unavailable