Bring back the death penalty. And whole life tariffs. Create a prison like Super Max.
Of course we can't prevent a reoccurrence especially when someone wants to die in a blaze of pubilicity. But we can minimise it and the death penalty and life sentences does play into the minds of killers and their supporters.