Attempt to reconnect twice in the event of network issues.
Merge pull request #4 from remind101/network-retry

Attempt to reconnect twice in the event of network issues.