Remove the reader and writer.