Fun with ByteBuf reference counting.