Unsubscribe when thread is interrupted