Adding a way to check for networking errors