implement full node deallocation

why is this only done on the master node ?