try to solve database connection problems in production when localization is not needed yet as in assets:precompile