raise error message when network is unavailable
Merge pull request #209 from chrox/master

raise error message when network is unavailable