Preemptive defense by closing lines of attack