Releasing buffers in tests properly so that Netty doesn't report leaks.