static AutoCloseable tempRegisterThread() { _registerThread(); ret autoCloseable { _unregisterThread(); }; }