I avoid this probrem like this. preparing connection when httpretty.is_enable == False.
In this case redis client use available connection Even if httpretty.is_enable == True as long as connection is alive.