Merge pull request #1 from y-ken/master

improbe connection error handling