PortalKit: fix but that ThePower can't be launched because the process of embedded tomcat has not been killed last time