Exanded exception handling for socket peer disconnect