sigtimedwait: use freezable blocking call