Update kill with the new wait_procs function.