Stop in for a cup of coffee

Looking for a recommendation.
Drilled a couple small holes last fall through the brick garage walls to run a small pvc line outside for drainage off the mini-splits air/heat. Looking to fill the gap at either ends so small bugs/snakes don't wander in.
Is there a foam spray that will seal it up or do I use like a concreate caulk??