join the tomcat thread to stop the service