Fix the bug that kill will get an error when the pid files are not exists.