leak-detective: Whitelist thread ID getter