Merge "Fix issue with RawMonitorWait."