It workaround for conditions which are happen because of problem in Pool...

...edByteBufAllocator.

This is by no means an optimal fix but a workaround till it is fixed in Netty itself.