Hi there is a nice write-up about your question here
https://blog.stephencleary.com/2009/05/detection-of-half-open-dropped.html
therein you will find a technical description as to why TCP/IP doesn't provide default methods to detect dropped connections and also provides approaches to address such situations with pros and cons.
Cheers,
Andrea