Interrupt thread at the end of an activity (#8)