'Initiate connection to ZK.
:param timeout: Time in seconds to wait for connection to
succeed.
:raises: :attr:`~kazoo.interfaces.IHandler.timeout_exception`
if the connection wasn\'t established within `timeout`
seconds.'

def start(self, timeout=15):

    event = self.start_async()
    event.wait(timeout=timeout)
    if (not self.connected):
        self.stop()
        raise self.handler.timeout_exception('Connection    time-out')
    if (self.chroot and (not self.exists('/'))):
        warnings.warn('No    chroot    path    exists,    the    chroot    path    should    be    created    before    normal    use.')
