ResetEvent removed for MessageBox support.