Fix async close leaking to replaced transport
Fix async close leaking to replaced transport: a task in github-trending-environments-10k (Harbor dataset). Title: Fix async close leaking to replaced transport
The task
**Title:** Fix async close leaking to replaced transport