Retry request on tcp connection error.

[Finishes #79151504]

Signed-off-by: Simon Leung <leungs@us.ibm.com>