fix Thread.handle_interrupt and .pending_interrupt heading elements