Add Heartbeat To setrlimit Loop

Make sure to have the child heartbeat fire during the loop to
set the rlimit.... otherwise, the watchdog could kill it.