Fix resource client creation on startup