Seems to be working if only pause/unpause the linereader.