Don't double-connect. Fixes #13
Better error-handling and retrying.