add redis error handler, adjust settings