More testing; fix netty resource leaks.