fix the selection of db to use in redis.

Fixed the selection of db in redis. There was a bug that prevent the library to work with a redis DB different than 0.
Now the element in the pool have receive the db at creation time and is no more necessary to set it at each request.
In this way the bug is fixed and each operation is faster.
Tested locally.