Clear clients objects to avoid crash. Fixed taking of configurations files from --prefix path.