Wait for the child to stop.
const WAIT_STOPPED: WaitFlags = WaitFlags(WSTOPPED);
waitid(2) and WSTOPPED therein