You also need to reject IOCP objects.
Done. Thanks.
Although, now that we have the concept of "sync objects," it might be better to just call `get_obj_sync()` and check if its ops is event_sync or semaphore_sync.
Check ops requires comparing ops pointers. event_sync_ops is not available to other files.