core: initialize synced folder class only once [GH-3067]