If Netty version is >= 3.5.7.Final, then call releaseExternalResources on shutdown