add support for redis pipeline