fix infinite loop on net read