Ensure that response_read() always calls fflush() or fclose().