[GHC] #10736: threadWaitRead/registerFd unusable