remove the commented-out and erroneous end-of-stream setting in read_callback_()...