[GHC] #10629: threadWaitRead throws BlockedIndefinitelyOnMVar