Fix for Netty thread leak