factor out JedisPubSub