please include function ping. static AutoCloseable tempUncancelThread() { ret tempRemove(ping_actions, Thread.currentThread()); }