Don't block if the status change to wait for has not occurred.
const WAIT_DONT_BLOCK: WaitFlags = WaitFlags(WNOHANG);
waitid(2) and WNOHANG therein