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