change to monitor the application process thread, if  the process thread was broken , then restart the process