Fixes #152

Implement an exponential back-off delay when connect fails.