a bug in kill_process when get hostname