Fix race between subcription and connection to ZooKeeper