cleanup Netty4 code