common: state: nullify all nodes when closing SH

Closes #13