Error checking of NetworkCommunication.