to delete debug info in __FreeIoInjectThreadStatus function and set the debug error for CloseHandle in __FreeDetourEvents