Parallelize get_docs on couch backend (#5008).