Detect close by peer so that recv can return empty string