proper initialization of internal_queue

`internal_queue` is not initialized properly when a `redis_factory` block is used