added option client to reuse an existing redis client