code: public void markAsDead(Node node) {
  		if (!NodeStatus.DEAD.equals(node.getStatus())) {
  			socketToNodeMap.get(Utils.toKey(node)).markAsDead();
  			sendEvent(node, NodeEventType.MARKED_AS_DEAD);
  		}
  	}
docs: Marks the node as DEAD in case of its status is not DEAD.
  
  @param node
  - the node.