add kill server instead of excuting PullLog twice