While debugging, I had a few println statements in the following code. While receiving a huge array at the same time, task switching due to the println IO statements resulted in the old buffer continuing to be filled even while the switch was taking place. Took me a while to figure out what was happening. I'll comment it out but leave a comment stating the need to `stop_reading` in such situations.