In case if an error occurs while reading the channel we should throw the associated error, not continue looping