The HeaptrackWrapper was attempting to manually close a file descriptor
that was already owned and closed by the associated net.Socket. When
creating a socket with an existing FD, the socket takes ownership and
closes the FD during cleanup. Attempting to close it again results in
EBADF errors, and could potentially close a recycled FD pointing to
a different resource.
Fixes COMPILER-EXPLORER-EA7
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>