Small change to socket exception handling.