set the connected state to false if lease_action = del