shutdown tomcat before deployment