handle drop in network connectivity
Merge pull request #53 from theSmaw/master

handle drop in network connectivity