[IssueSender] Ensure to break the retry loop immediately on exiting the thread