You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To supplement close() methods and shutdown hook, a heartbeat could be used to detect dead sockets (eg. when peer process has been killed with -9 or under windows where shutdown hooks do not work).