release bytebufs as needed