Yes it will block, i did this on purpose to make sure to read the remaing few bytes in one retry. It will return immedeately, if the original problem was a broken pipe something like that. In this case, a new session will be requested.