Process shouldn't try to read or write on a socket error (close) callback