set blocking flag before blocking IO#read