Adding close method to node manager interface.