A time travel thought experiment