avoid trapping when failed to stop tomcat