Closed-cell spray foam insulation sets to form a rigid layer that doesn't allow air or moisture to pass through. Meanwhile, ...
When you do want to clean up the gun, buy a can of cleaner, screw it on, and spray until the gun is clean ... A good DIY approach is to cut rigid foam insulation to fit between the joists.