Replaced tomcat plugin with new update. Modified playengine to close if output pipe is missing