Don't we check return value? -1 can be returned if the channel has reached end-of-stream.