First commit in MultiThink fork.
Add some semblance of connection retryability