In neither TcpSocket.cpp nor NetworkTask.cpp do we have a concept of changing a TCP Socket's state based on a timeout.
According to the spec we should at the very, very least be doing timeouts from the TimeWait state to Closed (!).
The only way to affect a TcpSocket's state is to process a packet with the current code.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too