Defensive termination