add kill policy and change some log to print