Make configurable: reconnect delay and retries.

Fixes #9