this will allow recv event handlers to distinguish between cases in which the region is NULL because of error, shutdown, or cancelation.