Handle sigtimedwait()s that can't use scratch.