force major sync after remove resources in java client