I don't think it counts as getting away with it if you don't get to keep the money and you are stuck in prison.
E.g. I kill my wife. I get executed 6 months later but I get to enjoy my wife being dead for 6 months.
A longer time horizon is better, but you'll need to learn that at a shorter horizon of course.