Adds the IsSetBefore check for EventWaitHandler instance (e.g. Manual or AutoResetEvent).