Revert "[threads] Make OSEvent alertable to fix bug #51653" (#4346)