Fixes #42 - Added check NetworkInfo is not null