Fixed leaks.
Prototyped tomcat listener.