reap_kill(): rename the reap variable to reaper
(cherry picked from commit 134529b11b5343aed09e220b49147873d052e4bf)