We tested #12182 on production, the active connection leak is fixed as expected, but it introduced new leak of openDirEntry. ATS was killed by OOM killer in 4 days because of this leak.
For open_read retry and open_write retry after following redirect, counters should to be reset theoretically, but it triggered the leak by somehow.