Fix memory leak related to Netty's ByteBuf