Remove disused functions
examples/redis-pubsub relied on deprecated feature, see bce3e3f