Repair tomcat leaks with elastic socket connection and implement research by elasticsearch Ctrl