Close the read pipe.