caf38532f3
connection in case of timeout. Contributed by Sean Mackrory. (cherry picked from commit d503f65b6689b19278ec2a0cf9da5a8762539de8)