try a second time before showing alert
Merge pull request #102 from ksslng/error-connecting

Error connecting fix