network detection/reachability added
clean up removal