Cancel the request when the stream gets destructed.