There's a reason things are set up as they are:
* Although HTTP connections are normally stateless, HN has a login system for account holders, which means there's a state, a connection, associated with each logged-in user.
* Because of the state information associated with logins, A Web server has a limited number of login connections it can handle.
* To serve the maximum number of visitors, a server needs to recycle connections that are no longer in use.
* There's no reliable heartbeat method between browser and server that a server can use to determine whether a given connection is still in use. Also, heartbeats would represent an extra traffic load on the server. And now that tabs have become popular, there's no way to be sure that a heartbeat response isn't from an unused, forgotten tab among dozens.
* Therefore, after a connection has not seen packet requests for a set time interval, the server expires the connection to make it available to other visitors.
* The shorter the timeout, the more connections the server can handle.
> I would suggest a sensible default of 86400 seconds.
Let's say the server can handle 2048 simultaneous login sessions (I don't know the actual number). According to your suggestion, after the first 2048 visitors log in, the server would refuse to accept any new logins for 24 hours. This isn't realistic.
Here's how I handle the problem -- if I decide a reply is going to take more than a few seconds, I transfer my reply to a text editor and let the connection expire. When my long-winded reply is ready, I refresh the original page, paste my reply in, and click "Add Comment".
I hope this helps.