If we get an error writing to a socket, then we should perhaps