test and remove  the bug at WaitEvent

internal resource and Non-Preemtable