Remove ConsumeOnClose and add test

I throttled `MockWebServer` to send N / 2 bytes every 10 seconds, so we test that we wait half of this time.  We could use any other number greater than zero and less than timeoutMillis, but I thought the midpoint would be the safest number.