Made redis pubsub optional