wait for tomcat to starup after moving logs