fix potential race condition when using a low group timeout and low reaper timeout