Fixed disconnecting after one node left
 - The problem was probably in definition of the Node object. I renamed class instance variable @id to @nodeId. The @id was perhaps taken as object_id.
 - This version is heavy debugging