code to handle other end socket closure in the fast path