Unfortunately hornet spray is no longer what it used to be and won’t stop a determined attacker.
Get mace or bear spray
That’s a shame. If it won’t stop humans, it probably won’t stop hornets either!