update how max inflight waiting works (no busy waiting)