Fix tomcat init script to ensure process has stopped and provide status