this will allow recv event handlers to distinguish between cases in which the region is NULL because of error, shutdown, or cancelation. (cherry picked from commit 75c985c07f)
75c985c07f