Handle connection failure and retry connecting instead of having to maitain pingback client/server.