Added Network connection checking.
Merge remote-tracking branch 'origin/master'