Fixed delayed restart to tomcat