Fixed usage of Redis pipeline

Use plain pipeline objects instead of wrapping the code in context
managers. Thanks to @Suor.