Paradox prison and infinite time loop