Stop repeatedly re-allocating input buffers