The ExtractionContextImpl still keeps a reference to the obtained connection after cleanup. See HHH-10250 for the details where this has an impact as well.