add avoid zombie process
add process file and debug wait