created more network utils, fixed the method "isConnected to network"