[fix] fixed resource server client creation on startup