clear_wait() using thread address