A method of leaving a node device in a contents distribution system in which contents are transmitted and received among a plurality of node devices, the contents distribution system comprises a plurality of the node devices which can be communicated to each other through a network, the method including steps, the steps comprising:
- receiving instructions of leaving from a leaving node device which leaves the contents distribution system,
- obtaining transmission ability information concerning a transmission ability of the leaving node device which has received the instructions of leaving in the receiving process,
- determining a delay time in such a way that the higher the transmission ability is, the longer the delay time for use in delaying the leaving from the contents distribution system is, based on the transmission ability information obtained in the obtaining process, and
- performing a leaving process from the contents distribution system when the determined delay time has elapsed after the receipt of the instructions of leaving in the receiving device.