only import redis if using it