remove wifi specific function,  isConnected alone looks good!