Clean up I/O buffer reallocation.
Finish Fix-iobuf