thread: remove caller_tid information when adding and removing thread_cb