catch every socket hangup.