Make the circuit state an atomic boolean
WIP: Start implementing the closing of the circuit
Add test that action is allowed if circuit closed