If the read stream fails we send an error to the client