Let them be, if you get stung then that is just tough. They are part of the balance of nature and are needed, wouldn't have evolved otherwise.
I know this sounds very preachy, but insects have really suffered in the last two cold winters. You really will notice if there are none left to pollinate the crops. Like the drop in birds, no swallows or swifts this summer, will they be back?
Seems wasps, like all the external skeleton insects, breath through pores in their body so anything that blocks them will kill them. Used to use paraffin.