celluloid/dcell — pull request #42 by nicksieger (2013-04-04 20:26:27+00:00)
Title: Create ZK nodes with ephemeral mode

I think this is the behavior you want -- create the ZK nodes with ephemeral mode so that they get cleaned up when the ZK connection is closed or dropped.