Socket now disconnects if HTTP connections are known to be dead.