fixed wait_until in start_tomcat