Fixes: #9111
An evolution of the #9061: renew the connection only when we need to.
(cherry picked from commit da29e2da6a)
Fixes: #9111
An evolution of the #9061: renew the connection only when we need to.
(cherry picked from commit da29e2da6a)