Added closeReadingPipe.