Use redis.pipeline context manager in job.register_dependencies().