PLEASE!!! DO NOT use poison pellets or D-Con if you have pets or small children...Some pellets are peanut butter scented and dogs love them...and then die in agony!
They contain an anticoagulant.
Also, if you are plugging holes with the spray foam, put in a bit of a used SOS pad before using the foam.