dealing with aftermath of thread cancel