Because unoconnected stream socket doesn't have any chance to receive any data, so a blocking recv() would hang forever on it (and does without this change). Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>