Add some logic to break circuits/relays