Changed error code for stream failure.