Implemented SmartLifecycle for ZooKeeperEmbedded