Revert problematic change to wait_reading_process_output.