Add pause before restart apache and tomcat in script end