body of reaper(), right before the call to uvm_exit(). cpu_wait() must be done before uvm_exit() because the resources it frees might be located in the PCB.